package com.dcy.domain;

public class Student2 {
    private Integer id2;
    private String name2;
    private String email;
    private Integer age;

    public Integer getId2() { return id2; }

    public void setId2(Integer id2) { this.id2 = id2; }

    public String getName2() { return name2; }

    public void setName2(String name2) { this.name2 = name2; }

    public String getEmail() { return email; }

    public void setEmail(String email) { this.email = email; }

    public Integer getAge() { return age; }

    public void setAge(Integer age) { this.age = age; }

    @Override
    public String toString() {
        return "Student2{" +
                "id2=" + id2 +
                ", name2='" + name2 + '\'' +
                ", email='" + email + '\'' +
                ", age=" + age +
                '}';
    }
}
